package cn.kow.kmall.core.jpa;

/**
 * @Author: lijun
 * @Description:
 * @Date: Created in 2020-04-17 15:02
 * @Modified By:
 */
public enum QueryOperatorEnum {

    /**
     * ==
     */
    equal,

    /**
     * !=
     */
    notEqual,

    /**
     * like
     */
    like,

    notLike,

    /**
     * dateRange
     */
    dateRange,

    /**
     * >
     */
    gt,

    /**
     * >=
     */
    ge,

    /**
     * <
     */
    lt,

    /**
     * <=
     */
    le,

    // 下面四个用于可比较类型(Comparable)的比较

    /**
     * field > value
     */
    greaterThan,

    /**
     * field >= value
     */
    greaterThanOrEqualTo,

    /**
     * field < value
     */
    lessThan,

    /**
     * field <= value
     */
    lessThanOrEqualTo,

    /**
     * field in value
     */
    in,
    ;
}
